package com.xft.web;

import com.xft.entity.User;
import com.xft.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author xft
 * @date 2018/3/10  16:39
 */

@org.springframework.web.bind.annotation.RestController
public class RestController {
    @Autowired
    private UserService userService;

   /* @RequestMapping("/list")
    public List<User> list() {
        List<User> userList = userService.getUserList();
        return userList;
    }*/
}
